import React from "react";
import ReactDOM from "react-dom/client";
import axios from 'axios';
import App from "./App";
axios.defaults.baseURL = "https://api.github.com";
axios.interceptors.response.use(res=>res.data);
React.Component.prototype.$axios = axios;

ReactDOM.createRoot(document.querySelector("#root")).render(<App/>)